package com.tenton.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * @Date: 2021/3/30 10:14
 * @Author: Tenton
 * @Description: 日销售
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class MonthlySales implements Serializable {
    /**
     * 日销售主键
     */
    private int id;
    /**
     * 商品Id
     */
    private int comId;
    /**
     * 商品名称
     */
    private String comName;
    /**
     * 日销售总量
     */
    private int num;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 修改时间
     */
    private Date saleDate;

    public MonthlySales(int comId, String comName, int num) {
        this.comId = comId;
        this.comName = comName;
        this.num = num;
    }
}
